Skip to content

Smaller images 2 (electric boogaloo) #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

obj-obj
Copy link

@obj-obj obj-obj commented Jan 24, 2023

Uses https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture to fallback to regular jpegs if the browser doesn't support JPEG-XL

@obj-obj
Copy link
Author

obj-obj commented Jan 24, 2023

I also made jpeg-xl versions of all the other images for future use (there isn't really a way to fallback to regular jpegs in background-image or on icons)

@EminGT
Copy link
Member

EminGT commented Jan 28, 2023

This is pretty cool, but JPEG-XL is so unsupported by every browser right now that I don't think it's worth it to even add them with fallbacks. This may be quite nice in the future though

@obj-obj
Copy link
Author

obj-obj commented Jan 28, 2023

This is pretty cool, but JPEG-XL is so unsupported by every browser right now that I don't think it's worth it to even add them with fallbacks. This may be quite nice in the future though

Yeah it doesn't even work with the experimental support in firefox right now (I guess that's why the support is experimental)

@obj-obj
Copy link
Author

obj-obj commented Jun 11, 2023

Safari is adding jpeg-xl support, maybe this will get Chrome/Firefox to also consider support (google removed jpeg-xl from chrome a while back)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants